import request from '@/utils/request'

// 查询网格商户报表列表
export function listWgshlsb(query) {
  return request({
    url: '/buss/reportLsb/wgshywjdb',
    method: 'get',
    params: query
  })
}

// 查询网格商户报表详细
export function getWgshlsb(sjrq) {
  return request({
    url: '/buss/wgshlsb/' + sjrq,
    method: 'get'
  })
}

// 新增网格商户报表
export function addWgshlsb(data) {
  return request({
    url: '/buss/wgshlsb',
    method: 'post',
    data: data
  })
}

// 修改网格商户报表
export function updateWgshlsb(data) {
  return request({
    url: '/buss/wgshlsb',
    method: 'put',
    data: data
  })
}

// 删除网格商户报表
export function delWgshlsb(sjrq) {
  return request({
    url: '/buss/wgshlsb/' + sjrq,
    method: 'delete'
  })
}
